import _00GraphFuc as gf
import _000GraphBasicProblem as gb

#11.4.2从一个(n,m)二分图，随机抽取N条边构成一个二分图
m,n,N=5,8,30
[V1,V2,E]=gb.createbigrath(m,n,N)
V=V1|V2
tv=gb.isbigraph(V,E,V1,V2)
gf.drawgraph(E)
print(V1,V2)
print(E)
print(tv)